<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-发布畅销商品">
</@frame.head>
<div class="page-container">
	<form action="${contextPath}/sell_well_product/add_sell_well_product" method="post" class="form form-horizontal" id="save_form">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				商品编号：</label>
			<div class="formControls col-xs-6 col-sm-6">
				<input type="text" class="input-text" value="${id}" placeholder="请输入商品编号" id="prodNo" name="prodNo" >
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				开始时间：</label>
			<div class="formControls col-xs-6 col-sm-6">
				<input  type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'endDate\')}',readOnly: true })" id="startDate" 
                name="startDate"  class="input-text Wdate">
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				结束时间：</label>
			<div class="formControls col-xs-6 col-sm-6">
				  <input  type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'startDate\')}',readOnly: true })" id="endDate" 
                  name="endDate"    class="input-text Wdate">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				商品位置：</label>
			<div class="formControls col-xs-6 col-sm-6">
			  <span class="select-box radius">
			   <select class="select" id="position" name="position">
	            <option value="0">请选择</option>
	            <option value="1">1号位</option>
	            <option value="2">2号位</option>
	            <option value="3">3号位</option>
	            <option value="4">4号位</option>
	            <option value="5">5号位</option>
	            <option value="6">6号位</option>
	            <option value="7">7号位</option>
	            <option value="8">8号位</option>
	            <option value="9">9号位</option>
	            <option value="10">10号位</option>
               </select>
              </span>
			</div>
		</div>
		<div class="row cl">
			<div class="col-9 col-offset-2">
				<input class="btn btn-primary radius" type="button" onclick="save();"  value="保存">
			</div>
		</div>
	</form>
</div>
<@frame.end "default">
</@frame.end>
<script type="text/javascript" src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/sell_well_product/product_add.js"></script>
<script type="text/javascript">
var path="${contextPath}";
</script>